package com.igeek.service.impl;

import com.igeek.dao.impl.BookDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("bookService")
public class BookServiceImpl implements BookService {
    @Autowired
    private BookDao bookDao;
    //private UserDao userDao;

//    public void setUserDao(UserDao userDao) {
//        this.userDao = userDao;
//    }

    public void save() {
        System.out.println("我还是帅");
        bookDao.save();
       // userDao.save();
    }
}
//    public void setBookDao(BookDao bookDao) {
//        this.bookDao = bookDao;
//    }
//}
